﻿using FluentNHibernate.Mapping;
using Thaire.Investment.Domains.Master;

namespace Thaire.Investment.Repository.Mapping
{
    class PaymentTypeMap : ClassMap<PaymentType>
    {
        public PaymentTypeMap()
        {
            Table("PAYMENT_TYPE");
            Id(x => x.PaymentTypeId, "PAYMENT_TYPE_ID").GeneratedBy.Identity();
            Map(x => x.PaymentTypeName, "PAYMENT_TYPE_NAME");
        }
    }
}
